def gen_int():
    num = 0
    while True:
        yield num
        num = num + 1
#自然数的源泉
s = gen_int()


#取之不竭
print(next(s),end=' ')
print(next(s))

n = 0
for i in s:
    if n<10:
        print(i, end=' ')
        n = n + 1
